import cherrypy

from ws import StopWS
from ws import RouteWS

class Resources(object):
    stop   = StopWS.StopSvc()
    stops  = StopWS.StopsSvc()
    route  = RouteWS.RouteSvc()
    routes = RouteWS.RoutesSvc()

    @cherrypy.expose 
    def index(self):
        return "Dynamic Pages: <a href='/routes'>Routes</a>  " + " <a href='/stops'>Stops</a> " + "<br/>Static Pages: <a href='/hi.html'>Say Hi!</a>"
               
 
cherrypy.quickstart(Resources(), "", "cherrypy.config")



